home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 62 6c | 61 63 6b 2e 77 65 65 67 |Path: bl|ack.weeg|
|00000010| 2e 75 69 6f 77 61 2e 65 | 64 75 21 72 6f 62 69 6e |.uiowa.e|du!robin|
|00000020| 73 6f 6e 0a 46 72 6f 6d | 3a 20 54 68 65 20 41 6d |son.From|: The Am|
|00000030| 6f 72 70 68 6f 75 73 20 | 4d 61 73 73 20 3c 72 6f |orphous |Mass <ro|
|00000040| 62 69 6e 73 6f 6e 40 62 | 6c 75 65 2e 77 65 65 67 |binson@b|lue.weeg|
|00000050| 2e 75 69 6f 77 61 2e 65 | 64 75 3e 0a 4e 65 77 73 |.uiowa.e|du>.News|
|00000060| 67 72 6f 75 70 73 3a 20 | 63 6f 6d 70 2e 6c 61 6e |groups: |comp.lan|
|00000070| 67 2e 63 0a 53 75 62 6a | 65 63 74 3a 20 52 65 3a |g.c.Subj|ect: Re:|
|00000080| 20 43 20 62 65 67 69 6e | 6e 65 72 20 6e 65 65 64 | C begin|ner need|
|00000090| 73 20 79 6f 75 72 20 68 | 65 6c 70 20 41 53 41 50 |s your h|elp ASAP|
|000000a0| 0a 44 61 74 65 3a 20 53 | 75 6e 2c 20 31 38 20 46 |.Date: S|un, 18 F|
|000000b0| 65 62 20 31 39 39 36 20 | 32 30 3a 35 35 3a 31 31 |eb 1996 |20:55:11|
|000000c0| 20 2d 30 36 30 30 0a 4f | 72 67 61 6e 69 7a 61 74 | -0600.O|rganizat|
|000000d0| 69 6f 6e 3a 20 55 6e 69 | 76 65 72 73 69 74 79 20 |ion: Uni|versity |
|000000e0| 6f 66 20 49 6f 77 61 2c | 20 49 6f 77 61 20 43 69 |of Iowa,| Iowa Ci|
|000000f0| 74 79 2c 20 49 41 2c 20 | 55 53 41 0a 44 69 73 74 |ty, IA, |USA.Dist|
|00000100| 72 69 62 75 74 69 6f 6e | 3a 20 77 6f 72 6c 64 0a |ribution|: world.|
|00000110| 4d 65 73 73 61 67 65 2d | 49 44 3a 20 3c 50 69 6e |Message-|ID: <Pin|
|00000120| 65 2e 41 33 32 2e 33 2e | 39 31 2e 39 36 30 32 31 |e.A32.3.|91.96021|
|00000130| 38 32 30 35 32 31 30 2e | 31 30 35 31 39 38 46 2d |8205210.|105198F-|
|00000140| 31 30 30 30 30 30 40 62 | 6c 61 63 6b 2e 77 65 65 |100000@b|lack.wee|
|00000150| 67 2e 75 69 6f 77 61 2e | 65 64 75 3e 0a 52 65 66 |g.uiowa.|edu>.Ref|
|00000160| 65 72 65 6e 63 65 73 3a | 20 3c 34 67 38 36 32 66 |erences:| <4g862f|
|00000170| 24 70 30 62 40 72 69 73 | 6b 79 2e 65 63 73 2e 75 |$p0b@ris|ky.ecs.u|
|00000180| 6d 61 73 73 2e 65 64 75 | 3e 0a 4e 4e 54 50 2d 50 |mass.edu|>.NNTP-P|
|00000190| 6f 73 74 69 6e 67 2d 48 | 6f 73 74 3a 20 62 6c 61 |osting-H|ost: bla|
|000001a0| 63 6b 2e 77 65 65 67 2e | 75 69 6f 77 61 2e 65 64 |ck.weeg.|uiowa.ed|
|000001b0| 75 0a 4d 69 6d 65 2d 56 | 65 72 73 69 6f 6e 3a 20 |u.Mime-V|ersion: |
|000001c0| 31 2e 30 0a 43 6f 6e 74 | 65 6e 74 2d 54 79 70 65 |1.0.Cont|ent-Type|
|000001d0| 3a 20 54 45 58 54 2f 50 | 4c 41 49 4e 3b 20 63 68 |: TEXT/P|LAIN; ch|
|000001e0| 61 72 73 65 74 3d 55 53 | 2d 41 53 43 49 49 0a 58 |arset=US|-ASCII.X|
|000001f0| 2d 53 65 6e 64 65 72 3a | 20 72 6f 62 69 6e 73 6f |-Sender:| robinso|
|00000200| 6e 40 62 6c 61 63 6b 2e | 77 65 65 67 2e 75 69 6f |n@black.|weeg.uio|
|00000210| 77 61 2e 65 64 75 0a 54 | 6f 3a 20 73 65 62 61 67 |wa.edu.T|o: sebag|
|00000220| 40 63 73 2e 75 6d 61 73 | 73 2e 65 64 75 0a 49 6e |@cs.umas|s.edu.In|
|00000230| 2d 52 65 70 6c 79 2d 54 | 6f 3a 20 3c 34 67 38 36 |-Reply-T|o: <4g86|
|00000240| 32 66 24 70 30 62 40 72 | 69 73 6b 79 2e 65 63 73 |2f$p0b@r|isky.ecs|
|00000250| 2e 75 6d 61 73 73 2e 65 | 64 75 3e 20 0a 0a 4f 6e |.umass.e|du> ..On|
|00000260| 20 53 75 6e 2c 20 31 38 | 20 46 65 62 20 31 39 39 | Sun, 18| Feb 199|
|00000270| 36 20 73 65 62 61 67 40 | 65 63 73 2e 75 6d 61 73 |6 sebag@|ecs.umas|
|00000280| 73 2e 65 64 75 20 77 72 | 6f 74 65 3a 0a 0a 3e 20 |s.edu wr|ote:..> |
|00000290| 49 20 61 6d 20 61 20 6e | 65 77 20 43 20 70 72 6f |I am a n|ew C pro|
|000002a0| 67 72 61 6d 6d 6d 65 72 | 20 77 68 6f 20 64 65 73 |grammmer| who des|
|000002b0| 70 65 72 61 74 65 6c 79 | 20 6e 65 65 64 73 20 68 |perately| needs h|
|000002c0| 65 6c 70 2e 0a 3e 20 49 | 20 68 61 76 65 20 62 65 |elp..> I| have be|
|000002d0| 65 6e 20 64 69 67 67 69 | 6e 67 20 69 6e 20 74 68 |en diggi|ng in th|
|000002e0| 65 20 6d 61 6e 75 61 6c | 73 20 66 6f 72 20 61 20 |e manual|s for a |
|000002f0| 77 61 79 20 74 6f 20 64 | 6f 20 74 68 69 73 20 62 |way to d|o this b|
|00000300| 75 74 20 68 61 76 65 20 | 73 74 69 6c 6c 0a 3e 20 |ut have |still.> |
|00000310| 63 6f 6d 65 20 6f 75 74 | 20 65 6d 70 74 79 20 68 |come out| empty h|
|00000320| 61 6e 64 65 64 2e 20 48 | 65 72 65 20 69 73 20 74 |anded. H|ere is t|
|00000330| 68 65 20 70 72 6f 62 6c | 65 6d 3a 20 49 20 77 61 |he probl|em: I wa|
|00000340| 6e 74 20 74 6f 20 6f 70 | 65 6e 20 66 69 6c 65 73 |nt to op|en files|
|00000350| 20 69 6e 20 61 20 77 68 | 69 6c 65 0a 3e 20 6c 6f | in a wh|ile.> lo|
|00000360| 6f 70 20 77 69 74 68 20 | 64 69 66 66 65 72 65 6e |op with |differen|
|00000370| 74 20 66 69 6c 65 6e 61 | 6d 65 73 2e 20 64 61 74 |t filena|mes. dat|
|00000380| 61 30 2c 64 61 74 61 31 | 2c 64 61 74 61 32 2c 64 |a0,data1|,data2,d|
|00000390| 61 74 61 33 2c 20 2e 2e | 20 64 61 74 61 31 30 30 |ata3, ..| data100|
|000003a0| 30 20 2c 20 2e 2e 2e 0a | 3e 20 49 20 6e 65 65 64 |0 , ....|> I need|
|000003b0| 20 74 6f 20 69 6e 63 72 | 65 6d 65 6e 74 20 61 6e | to incr|ement an|
|000003c0| 20 69 6e 74 65 67 65 72 | 20 65 61 63 68 20 74 69 | integer| each ti|
|000003d0| 6d 65 20 61 72 6f 75 6e | 64 20 74 68 65 6e 20 63 |me aroun|d then c|
|000003e0| 6f 6e 76 65 72 74 20 69 | 74 20 74 6f 20 61 20 73 |onvert i|t to a s|
|000003f0| 74 72 69 6e 67 0a 3e 20 | 61 6e 64 20 74 68 65 6e |tring.> |and then|
|00000400| 20 73 6f 6d 65 68 6f 77 | 20 75 73 65 20 73 74 72 | somehow| use str|
|00000410| 63 61 74 20 74 6f 20 63 | 6f 6d 62 69 6e 65 20 74 |cat to c|ombine t|
|00000420| 68 65 20 22 64 61 74 61 | 22 20 77 69 74 68 20 74 |he "data|" with t|
|00000430| 68 65 20 69 6e 74 65 67 | 65 72 20 73 74 72 69 6e |he integ|er strin|
|00000440| 67 2e 0a 3e 20 41 66 74 | 65 72 20 74 68 61 74 20 |g..> Aft|er that |
|00000450| 75 73 65 20 66 6f 70 65 | 6e 28 66 69 6c 65 6e 61 |use fope|n(filena|
|00000460| 6d 65 2c 20 22 61 22 29 | 3b 0a 0a 20 20 41 73 73 |me, "a")|;.. Ass|
|00000470| 75 6d 69 6e 67 20 70 72 | 6f 70 65 72 20 23 69 6e |uming pr|oper #in|
|00000480| 63 6c 75 73 69 6f 6e 73 | 20 61 6e 64 20 76 61 72 |clusions| and var|
|00000490| 69 61 62 6c 65 20 64 65 | 63 6c 61 72 61 74 69 6f |iable de|claratio|
|000004a0| 6e 73 2c 20 65 74 63 2e | 3a 0a 0a 20 20 20 20 66 |ns, etc.|:.. f|
|000004b0| 6f 72 20 28 69 20 3d 20 | 30 3b 20 69 20 21 3d 20 |or (i = |0; i != |
|000004c0| 31 30 30 30 3b 20 2b 2b | 69 29 20 7b 0a 20 20 20 |1000; ++|i) {. |
|000004d0| 20 20 20 20 20 73 70 72 | 69 6e 74 66 28 66 69 6c | spr|intf(fil|
|000004e0| 65 6e 61 6d 65 2c 20 22 | 64 61 74 61 25 64 22 2c |ename, "|data%d",|
|000004f0| 20 69 29 3b 0a 09 66 6f | 70 65 6e 28 66 69 6c 65 | i);..fo|pen(file|
|00000500| 6e 61 6d 65 2c 20 22 61 | 22 29 3b 0a 20 20 20 20 |name, "a|");. |
|00000510| 20 20 20 20 2f 2a 20 2e | 2e 2e 20 2a 2f 0a 20 20 | /* .|.. */. |
|00000520| 20 20 7d 0a 0a 20 20 77 | 69 6c 6c 20 6f 70 65 6e | }.. w|ill open|
|00000530| 20 66 69 6c 65 73 20 64 | 61 74 61 30 20 2e 2e 2e | files d|ata0 ...|
|00000540| 20 64 61 74 61 39 39 39 | 2e 20 20 73 70 72 69 6e | data999|. sprin|
|00000550| 74 66 28 29 20 69 73 20 | 61 20 77 6f 6e 64 65 72 |tf() is |a wonder|
|00000560| 66 75 6c 20 74 68 69 6e | 67 2e 20 3a 29 0a 0a 20 |ful thin|g. :).. |
|00000570| 20 50 6f 73 74 65 64 20 | 61 6e 64 20 65 6d 61 69 | Posted |and emai|
|00000580| 6c 65 64 2e 0a 0a 0a 2d | 20 4a 61 6d 65 73 20 20 |led....-| James |
|00000590| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000005a0| 20 20 22 47 6f 6f 64 20 | 63 61 6e 64 69 64 61 74 | "Good |candidat|
|000005b0| 65 73 20 66 6f 72 20 65 | 78 63 65 70 74 69 6f 6e |es for e|xception|
|000005c0| 73 20 61 72 65 20 73 69 | 74 75 61 74 69 6f 6e 73 |s are si|tuations|
|000005d0| 0a 6a 61 6d 65 73 2d 72 | 6f 62 69 6e 73 6f 6e 40 |.james-r|obinson@|
|000005e0| 75 69 6f 77 61 2e 65 64 | 75 20 20 20 74 68 61 74 |uiowa.ed|u that|
|000005f0| 20 64 6f 20 6e 6f 74 20 | 6f 63 63 75 72 20 75 6e | do not |occur un|
|00000600| 64 65 72 20 6e 6f 72 6d | 61 6c 20 63 69 72 63 75 |der norm|al circu|
|00000610| 6d 73 74 61 6e 63 65 73 | 2e 22 0a 20 20 20 20 20 |mstances|.". |
|00000620| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000630| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000640| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000650| 20 20 20 2d 2d 20 4b 65 | 76 69 6e 20 4a 2e 20 48 | -- Ke|vin J. H|
|00000660| 6f 70 70 73 0a | |opps. | |
+--------+-------------------------+-------------------------+--------+--------+